import {defineStore} from 'pinia'

export const useUserStore = defineStore('user', {
  state: () => ({
    token: '',
    user: {}
  }),
  actions: {
    clearUser(){
      this.token = ''
      this.user = {}
    }
  },
})
